package org.vectrics.site.hosted;

import java.util.Date;

import org.vectrics.common.db.RecordObject;
import org.vectrics.company.Company;
import org.vectrics.user.Person;

public class HostedApplication implements RecordObject {
	private Long id = null;
	private Person person = null;
	private Company company = null;
	private Date dateSubmitted = null;
	private Date dateSiteActivated = null;
	private String status = null;
	private String errorInfo = null;
	private String domainName = null;
	private Long trialDays = new Long(30);
	private Long domainId = new Long(30);
	
	public HostedApplication() {
		super();
	}

	
	
	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}



	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}



	/**
	 * @return Returns the company.
	 */
	public Company getCompany() {
		return company;
	}

	/**
	 * @param company The company to set.
	 */
	public void setCompany(Company company) {
		this.company = company;
	}

	/**
	 * @return Returns the dateSiteActivated.
	 */
	public Date getDateSiteActivated() {
		return dateSiteActivated;
	}

	/**
	 * @param dateSiteActivated The dateSiteActivated to set.
	 */
	public void setDateSiteActivated(Date dateSiteActivated) {
		this.dateSiteActivated = dateSiteActivated;
	}

	/**
	 * @return Returns the dateSubmitted.
	 */
	public Date getDateSubmitted() {
		return dateSubmitted;
	}

	/**
	 * @param dateSubmitted The dateSubmitted to set.
	 */
	public void setDateSubmitted(Date dateSubmitted) {
		this.dateSubmitted = dateSubmitted;
	}

	/**
	 * @return Returns the person.
	 */
	public Person getPerson() {
		return person;
	}

	/**
	 * @param person The person to set.
	 */
	public void setPerson(Person person) {
		this.person = person;
	}



	public Long getDomainId() {
		return domainId;
	}



	public void setDomainId(Long domainId) {
		this.domainId = domainId;
	}



	public String getDomainName() {
		return domainName;
	}



	public void setDomainName(String domainName) {
		this.domainName = domainName;
	}



	public String getErrorInfo() {
		return errorInfo;
	}



	public void setErrorInfo(String errorInfo) {
		this.errorInfo = errorInfo;
	}



	public String getStatus() {
		return status;
	}



	public void setStatus(String status) {
		this.status = status;
	}



	public Long getTrialDays() {
		return trialDays;
	}



	public void setTrialDays(Long trialDays) {
		this.trialDays = trialDays;
	}

	
	
	
}
